package com.huawei.crm.job;

import java.time.LocalTime;

import static com.huawei.crm.job.IndexTask.TaskType.INTERVAL;


public class IndexTask1 extends AbstractIndexTask{

	@Override
	public TaskType getType() {
		return INTERVAL;
	}
//
//	@Override
//	public int getInterval() {
//		return JobUtil.getInterval(10, TimeUnit.SECONDS);
//	}

	@Override
	public void run0() {
		System.out.println("haha:" + LocalTime.now());
	}
}
